// generate single random number from 1 to 1000
function rand() {
  r = Math.round(Math.random() * 1000 + 1);
  console.log(r);
  return r;
}

// generate random number from 1 to 1000
// function generateRandomNumber() {
// 	let num = Math.floor(Math.random() * 1000);
// 	let symbol = num % 100;
// 	let result = String.fromCharCode(65 + symbol);
// 	result = result.toLowerCase();
// 	result = result.replace(/[^a-zA-Z0-9]+/g, "");
// 	console.log(result);
// 	num = parseInt(num, 10);
// 	let result3 = "";
// 	for (let i = 0; i < num; i++) {
// 		result3 += "A";
// 		result3 += "0";
// 		result3 += "A";
// 		result3 += "0";
